package com.xingshentech.ugv.operate.base;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public abstract class CommonRecyclerAdapter<T> extends BaseQuickAdapter<T, BaseViewHolder> {

    public CommonRecyclerAdapter(int layoutResId, @Nullable List<T> data) {
        super(layoutResId, data);
    }


    public abstract void convert(@NotNull BaseViewHolder holder, T t);
}
